﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BigDataFramework.Library.Objects.DataAdapters;
using BigData.DataContracts.Objects.FourSquare;
using BigDataFramework.Library.Objects.DataAdapters.FourSquare;

namespace BigDataFramework.Library.Helpers
{
    //// Not used.. may try to make this work later... generics are a pain and a half sometimes...
    //public static class DataAdapterHelper
    //{
    //    /// <summary>
    //    /// Stores the registered data adapters.
    //    /// </summary>
    //    private static DataAdapterDictionary _registeredDataAdapters { get; set; }
    //    private static Dictionary<Type, int> bob;

    //    static DataAdapterHelper()
    //    {
    //    }
    //}

    ///// <summary>
    ///// A dictionary for the data adapters
    ///// </summary>
    //public class DataAdapterDictionary
    //{
    //    private Dictionary<Type, object> _dict { get; set; }

    //    public DataAdapterDictionary()
    //    {
    //        _dict = new Dictionary<Type, object>();
    //    }

    //    public void Add<T, U>(U obj)
    //        where T : Type
    //        where U : DataAdapterBase<T>
    //    {
    //        this._dict.Add(typeof(T), obj);
    //    }

    //    public U GetValue<T, U>(Type t)
    //        where T : Type
    //        where U : DataAdapterBase<T>
    //    {
    //        return _dict[t] as U;
    //    }
    //}
}
